package com.woyou.bean;

import java.util.ArrayList;
import java.util.List;

import com.woyou.ui.api.CountSize;

/**
 * 子商品
 * 
 * @author 荣
 * 
 */
@SuppressWarnings("serial")
public class SubGoodsGroup extends SuperBean implements CountSize{
	
	/**
	 * 子商品组名
	 */
	private String name = "";
	/**
	 * 子商品列表
	 */
	private List<SubGoods> subGoodsList = new ArrayList<SubGoods>();

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<SubGoods> getSubGoodsList() {
		return subGoodsList;
	}

	public void setSubGoodsList(List<SubGoods> subGoodsList) {
		this.subGoodsList = subGoodsList;
	}

	@Override
	public int getSize() {
		return subGoodsList.size();
	}

}
